-
Home
-
Phrase TMS Integration for WordPress
-
4.7.4 (latest)
-
Code
-
Classes
- ContentController
Total Complexity |
47 |
Dependencies |
16 |
Dependents |
1 |
Total lines |
406 |
Lines of code |
221 |
Logical lines of code |
105 |
Comment lines |
105 |
Methods |
22 |
Properties |
6 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
processRequest() |
A |
51 |
8 |
24 |
getItem() |
S |
59 |
3 |
13 |
getTypes() |
S |
61 |
3 |
13 |
getItems() |
S |
62 |
3 |
11 |
registerRestRoutes() |
S |
50 |
1 |
35 |
addContentService() |
S |
63 |
3 |
10 |
getInitArgsWithTypeOptional() |
S |
59 |
2 |
15 |
saveTranslation() |
S |
63 |
3 |
9 |
getInitArgs() |
S |
60 |
2 |
14 |
logRequest() |
S |
62 |
2 |
11 |
logError() |
S |
63 |
2 |
11 |
logResponse() |
S |
73 |
2 |
5 |
checkContentType() |
S |
64 |
2 |
10 |
getContentService() |
S |
69 |
2 |
6 |
addContentServices() |
S |
74 |
2 |
5 |
storeLastProcessedId() |
S |
79 |
1 |
3 |
getNamespace() |
S |
81 |
1 |
3 |
checkAuth() |
S |
75 |
1 |
4 |
getContentServices() |
S |
82 |
1 |
3 |
createResponseData() |
S |
74 |
1 |
5 |
createWPError() |
S |
78 |
1 |
3 |
__construct() |
S |
67 |
1 |
8 |